Skip to content

Add the option to scale user avatars based on the amounts of commits#354

Open
sokripon wants to merge 1 commit intoacaudwell:masterfrom
sokripon:userscaling
Open

Add the option to scale user avatars based on the amounts of commits#354
sokripon wants to merge 1 commit intoacaudwell:masterfrom
sokripon:userscaling

Conversation

@sokripon
Copy link

Add options to scale users baed on the amount of commits they did

New Options

  • --user-scale-by-commits - Enable commit-based scaling
  • --persist-user-scale - Users stay at their max size instead of reseting when reappering
  • --commit-scale-type TYPE - How scaling grows: log, linear, sqrt, or exp
  • --commit-scale-factor N - Amplify the scaling effect
  • --user-min-scale N / --user-max-scale N - Clamp the size range

Example:

./gource --user-scale-by-commits --commit-scale-type log --auto-skip-seconds 1.1 -s 0.1 --highlight-users --commit-scale-factor 2.0 .
2025-12-29.05-56-24.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant